<%--
  Created by IntelliJ IDEA.
  User: ThinkPad
  Date: 2021/12/7
  Time: 11:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    request.setAttribute("loginState",false);
%>
<c:if test="${sessionScope.user != null}">
    <%
        request.setAttribute("loginState",true);
    %>
</c:if>
</body>
</html>
